/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.rie06.openvoip.client.IHM.communication;

import com.rie06.openvoip.client.Contact;
import java.awt.Color;
import javax.swing.JPanel;

/**
 *
 * @author sylvain
 */
public class PanelChoiceListeContact extends JPanel {
    
    private CommunicationController communicationController;
    private WindowListAddContactConversation windowListAddContactConversation;
    private PanelAddListContactConversation panelAddListContactConversation;
    private Contact contact;
    
    public PanelChoiceListeContact(WindowListAddContactConversation windowListAddContactConversation, CommunicationController communicationController, PanelAddListContactConversation panelAddListContactConversation){
        
        this.communicationController = communicationController;
        this.windowListAddContactConversation = windowListAddContactConversation;
        this.panelAddListContactConversation = panelAddListContactConversation;
        this.contact = contact;
           
        this.setSize(250,500);

        panelAddListContactConversation = new PanelAddListContactConversation(windowListAddContactConversation, communicationController);
        this.add(panelAddListContactConversation);
    }

    public PanelAddListContactConversation getPanelAddListContactConversation() {
        return panelAddListContactConversation;
    }

    public Contact getContact() {
        return contact;
    }
    
    
    
}
